import matplotlib.pyplot as plt
import numpy as np
plt.subplot(1, 2, 1)
x = np.array([1, 3, 5, 8])
y = np.array([1, 20, 18, 80])
z = np.array([1, 20, 60, 80])
plt.rcParams['font.family'] = 'SimHei'
plt.plot(x, y, marker='o', ls=':', linewidth='12', c='g')
plt.xlabel('xxx')
plt.ylabel('yyy')
plt.title('hhhhhh')
plt.grid('c=r')
plt.legend(('!!!!!!!',), loc='upper right')

plt.subplot(1, 2, 2)
x = np.array([1, 3, 5, 8])
z = np.array([1, 20, 60, 80])
plt.plot(x, z)
plt.show()